﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SurfaceDefence
{
    class Player
    {
        private String name;
        private int health;


        public String Name
        {
            get { return name; }
            set { name = value; }
        }
        public int Health
        {
            get { return health; }
            set { health = value; }
        }
        public void Aouch()
        {
            health--;
        }
        public Player(String name, int health)
        {
            this.name = name;
            this.health = health;
        }
    }
}
